package cn.com.yx.ms.persistence;


import cn.com.yx.ms.application.web.ApiQueryBase;
import cn.com.yx.ms.domain.TestModel;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;


@Repository
public interface TestMapper {

    int insert(TestModel testModel);

    int update(TestModel testModel);

    int delete(@Param("id") String id);

    List<TestModel> find(ApiQueryBase query);

    TestModel findOne(@Param("id") String id);
}
